package com.net.oil.coupon.bean;

import java.util.List;

/**
 * 作者：lch
 * 时间：2019/12/17 0017:下午 21:32
 * 邮箱：245850413@qq.com
 * 说明：
 */
public class CouponRecordVO {
    /**
     *
     用户获取的优惠券记录
     */
    private Integer id;
    /**
     优惠券金额
     */
    private Double amount;

    /**
     * 优惠券使用标识 true:已经使用 false:未使用
     */
    private Boolean used = false;
    /**
     * 获取优惠券的时间
     */
    private Long applyTime;

    /**
     * 优惠券过期时间
     */
    private Long expireTime;
    /**
     * 优惠券所属用户
     */
    private String uid;
    /**
     * 优惠券code
     */
    private String code;
    /**
     * 优惠券在哪一个商家使用的
     */
    private Integer bid;
    /**
     * 优惠券使用时间
     */
    private Long usedTime;
    /**
     * 核销优惠券的商家员工uid
     */
    private String buserId;
    /**
     * 用户手机号
     */
    private String phone;
    /**
     * 在哪一个商家使用的  商家名称
     */
    private String businessName;
    /**
     * 抽奖活动获取的优惠券
     * 奖品id
     */
    private Integer prizeId;
    /**
     * 优惠券id
     */
    private Integer couponId;

    /**
     * 优惠券类型
     */
    private Integer couponType;
    /**
     *
     优惠券名称
     */
    private String couponName;
    /**
     * 优惠券图片，如果字段为空就是用默认的图片，如果不为空这个字段就是资源id，使用加载图片的接口进行加载
     */
    private String couponImage;
    /**
     * 优惠券满多少元可用，如果字段为空就不展示
     */
    private Double fullAvailableAmount;
    /**
     * 获取优惠券的渠道
     */
    private String applyChannel;
    /**
     * 优惠券活动或者抽奖活动或者新注册用户送优惠券活动id
     */
    private Integer actionId;
    /**
     * 优惠券适用的商家json对象
     */
    private String refBusinessInfo;
    /**
     * 优惠券是哪一个商家发送的
     */
    private Integer sendBid;

    private List<CouponRecordRefBusiness> couponRecordRefBusinessList;

    /**
     * 优惠券是否过期 1：过期 0：未过期
     */
    private int expireStatus = 0;
    /**
     * 优惠券是哪一个商家发送的 商家名称
     */
    private String sendCouponBusinessName;

    /**
     * 优惠券使用规则
     */
    private String usedRule;

    /**
     * 优惠券在哪一个商家使用，或者可以在哪一个商家使用的商家对象
     */
    private OilBusinessDTO business;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Boolean getUsed() {
        return used;
    }

    public void setUsed(Boolean used) {
        this.used = used;
    }

    public Long getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Long applyTime) {
        this.applyTime = applyTime;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public Long getUsedTime() {
        return usedTime;
    }

    public void setUsedTime(Long usedTime) {
        this.usedTime = usedTime;
    }

    public String getBuserId() {
        return buserId;
    }

    public void setBuserId(String buserId) {
        this.buserId = buserId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public Integer getPrizeId() {
        return prizeId;
    }

    public void setPrizeId(Integer prizeId) {
        this.prizeId = prizeId;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public Integer getCouponType() {
        return couponType;
    }

    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getCouponImage() {
        return couponImage;
    }

    public void setCouponImage(String couponImage) {
        this.couponImage = couponImage;
    }

    public Double getFullAvailableAmount() {
        return fullAvailableAmount;
    }

    public void setFullAvailableAmount(Double fullAvailableAmount) {
        this.fullAvailableAmount = fullAvailableAmount;
    }

    public String getApplyChannel() {
        return applyChannel;
    }

    public void setApplyChannel(String applyChannel) {
        this.applyChannel = applyChannel;
    }

    public Integer getActionId() {
        return actionId;
    }

    public void setActionId(Integer actionId) {
        this.actionId = actionId;
    }

    public String getRefBusinessInfo() {
        return refBusinessInfo;
    }

    public void setRefBusinessInfo(String refBusinessInfo) {
        this.refBusinessInfo = refBusinessInfo;
    }

    public Integer getSendBid() {
        return sendBid;
    }

    public void setSendBid(Integer sendBid) {
        this.sendBid = sendBid;
    }

    public List<CouponRecordRefBusiness> getCouponRecordRefBusinessList() {
        return couponRecordRefBusinessList;
    }

    public void setCouponRecordRefBusinessList(List<CouponRecordRefBusiness> couponRecordRefBusinessList) {
        this.couponRecordRefBusinessList = couponRecordRefBusinessList;
    }

    public int getExpireStatus() {
        return expireStatus;
    }

    public void setExpireStatus(int expireStatus) {
        this.expireStatus = expireStatus;
    }

    public String getSendCouponBusinessName() {
        return sendCouponBusinessName;
    }

    public void setSendCouponBusinessName(String sendCouponBusinessName) {
        this.sendCouponBusinessName = sendCouponBusinessName;
    }

    public String getUsedRule() {
        return usedRule;
    }

    public void setUsedRule(String usedRule) {
        this.usedRule = usedRule;
    }

    public OilBusinessDTO getBusiness() {
        return business;
    }

    public void setBusiness(OilBusinessDTO business) {
        this.business = business;
    }
}
